//
//  NSString+Helper.h
//  NJUSTHelper
//
//  Created by 郑越辉 on 2017/9/21.
//  Copyright © 2017年 njust. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Helper)

+(NSString *)weekStringWithDate:(NSDate *) date;

+(NSString *)yearStringWithDate:(NSDate *) date;

+(NSString *)monthStringWithDate:(NSDate *) date;

+(NSString *)dayStringWithDate:(NSDate *) date;

///获取周几的index 周一-周日 : 0-6
+(int) indexOfWeekString:(NSString *)weekStr;

+(NSString *)nullString:(NSString *)str RepleseWith:(NSString *)rep;
@end
